<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title th:text="#{list.title}">title</title>
    <link rel="stylesheet" th:href="@{css/bootstrap.css}">
</head>
<body>

<label>
    <a class="btn btn-sm" th:href="@{/data(lan='zh_CN')}">中文</a>
    <a class="btn btn-sm" th:href="@{/data(lan='en_US')}">English</a>
</label>

<br>
<table class="table table-hover">
    <thead>
    <tr>
        <th th:text="#{list.table.name1}">地区</th>
        <th th:text="#{list.table.name2}">现有</th>
        <th th:text="#{list.table.name3}">累计</th>
        <th th:text="#{list.table.name4}">治愈</th>
        <th th:text="#{list.table.name5}">死亡</th>
    </tr>
    </thead>
    <tbody>
    <tr th:each=" data:${dataList}">
        <td th:text="${data.area}"></td>
        <td th:text="${data.now_confirm}"></td>
        <td th:text="${data.confirm}"></td>
        <td th:text="${data.heal}"></td>
        <td th:text="${data.dead}"></td>
    </tr>
    </tbody>
</table>

</body>
</html>